package ch.fhnw.qualiscan.core.db.pojos;

import java.io.Serializable;

/**
 *
 * This is the pojo for permissions. It is used by hibernate to get data out of the database.
 * 
 * @author Kevin Mettenberger
 *
 */
@SuppressWarnings("serial")
public class Permission implements Serializable {
	
	private int id;
	private String title;
	private int createsurvey;
	private int fillout;
	private int admin;
	
	public Permission() {
		
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getCreatesurvey() {
		return createsurvey;
	}

	public void setCreatesurvey(int createsurvey) {
		this.createsurvey = createsurvey;
	}

	public int getFillout() {
		return fillout;
	}

	public void setFillout(int fillout) {
		this.fillout = fillout;
	}

	public int getAdmin() {
		return admin;
	}

	public void setAdmin(int admin) {
		this.admin = admin;
	}
	
	
	
}
